
#ifndef POLYNOM H
#define POLYNOM H
/*structure for ADT Polynom*/
typedef struct polynom_struct {
/* attributes missing */

	double koeff;
	int pot;
	struct polynom_struct *next;

} *Polynom;

/*evaluate polynom p(x) at point x */
double eval(double x, Polynom p);

/* add two polynoms */
Polynom addpoly(Polynom p1, Polynom p2);

/*multiply two polynoms */
Polynom multpoly(Polynom p1, Polynom p2);

#endif /* POLYNOM H */
